package com.project.dao;

import com.project.bean.OrderBean;

import java.util.List;
import java.util.Map;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer oId);

    int insert(OrderBean record);

    int insertSelective(OrderBean record);

    OrderBean selectByPrimaryKey(Integer oId);

    int updateByPrimaryKeySelective(OrderBean record);

    int updateByPrimaryKey(OrderBean record);

    int insertBatchSelective(List<OrderBean> records);

    int updateBatchByPrimaryKeySelective(List<OrderBean> records);
    
    List<OrderBean> findAllToPageByStu(Map<String,Integer> map);
    
    List<OrderBean> findAllToPageByCoach(Map<String,Integer> map);
    
    int findAllNumByStu(Map<String,Integer> map);
    
    int findAllNumByCoach(Map<String,Integer> map);
}